package idv.loveloser.dao;

/**
 * AbstractMdlBlockInstances entity provides the base persistence definition of
 * the MdlBlockInstances entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlBlockInstances implements java.io.Serializable {

	// Fields

	private Long id;
	private String blockname;
	private Long parentcontextid;
	private Short showinsubcontexts;
	private String pagetypepattern;
	private String subpagepattern;
	private String defaultregion;
	private Long defaultweight;
	private String configdata;

	// Constructors

	/** default constructor */
	public AbstractMdlBlockInstances() {
	}

	/** minimal constructor */
	public AbstractMdlBlockInstances(String blockname, Long parentcontextid,
			Short showinsubcontexts, String pagetypepattern,
			String defaultregion, Long defaultweight) {
		this.blockname = blockname;
		this.parentcontextid = parentcontextid;
		this.showinsubcontexts = showinsubcontexts;
		this.pagetypepattern = pagetypepattern;
		this.defaultregion = defaultregion;
		this.defaultweight = defaultweight;
	}

	/** full constructor */
	public AbstractMdlBlockInstances(String blockname, Long parentcontextid,
			Short showinsubcontexts, String pagetypepattern,
			String subpagepattern, String defaultregion, Long defaultweight,
			String configdata) {
		this.blockname = blockname;
		this.parentcontextid = parentcontextid;
		this.showinsubcontexts = showinsubcontexts;
		this.pagetypepattern = pagetypepattern;
		this.subpagepattern = subpagepattern;
		this.defaultregion = defaultregion;
		this.defaultweight = defaultweight;
		this.configdata = configdata;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBlockname() {
		return this.blockname;
	}

	public void setBlockname(String blockname) {
		this.blockname = blockname;
	}

	public Long getParentcontextid() {
		return this.parentcontextid;
	}

	public void setParentcontextid(Long parentcontextid) {
		this.parentcontextid = parentcontextid;
	}

	public Short getShowinsubcontexts() {
		return this.showinsubcontexts;
	}

	public void setShowinsubcontexts(Short showinsubcontexts) {
		this.showinsubcontexts = showinsubcontexts;
	}

	public String getPagetypepattern() {
		return this.pagetypepattern;
	}

	public void setPagetypepattern(String pagetypepattern) {
		this.pagetypepattern = pagetypepattern;
	}

	public String getSubpagepattern() {
		return this.subpagepattern;
	}

	public void setSubpagepattern(String subpagepattern) {
		this.subpagepattern = subpagepattern;
	}

	public String getDefaultregion() {
		return this.defaultregion;
	}

	public void setDefaultregion(String defaultregion) {
		this.defaultregion = defaultregion;
	}

	public Long getDefaultweight() {
		return this.defaultweight;
	}

	public void setDefaultweight(Long defaultweight) {
		this.defaultweight = defaultweight;
	}

	public String getConfigdata() {
		return this.configdata;
	}

	public void setConfigdata(String configdata) {
		this.configdata = configdata;
	}

}